//
//  HeaderView.m
//  23-HomeworkPlanet
//
//  Created by dllo on 16/8/13.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "HeaderView.h"

@implementation HeaderView

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self creatImage:self.bounds];
    }
    return self;
}

- (void)creatImage:(CGRect)sender {
    _cycleImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.bounds.size.width, self.bounds.size.height * 0.75)];
    _cycleImage.backgroundColor = [UIColor cyanColor];
    [self addSubview:_cycleImage];
}




@end
